package cn.btks.resultintegration.rule.service.impl;

import cn.btks.resultintegration.rule.pojo.VectorRules;
import cn.btks.resultintegration.rule.repository.VectorRulesRepository;
import cn.btks.resultintegration.rule.service.VectorRulesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/2/23 10:22
 */
@Service
public class VectorRulesServiceImpl implements VectorRulesService {

    @Autowired
    VectorRulesRepository vectorRulesRepository;

    @Override
    public List<VectorRules> findAllByContent(String content) {
        return vectorRulesRepository.findAllByContent(content);
    }
}
